package com.wisdytech.linkdcs.equipStop.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenbin
 * @since 2018-07-20
 */
@TableName("TT_EQ_EQUIP_STOP")
public class EquipStop extends Model<EquipStop> {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一id
     */
    @TableId("PK_ID")
    private String pkId;
    /**
     * 停机编号
     */
    @TableField("STOP_CODE")
    private String stopCode;
    /**
     * 停机原因
     */
    @TableField("STOP_REASON")
    private String stopReason;
    /**
     * 停机类型（故障停机0、本单位非故障停机1、外单位非故障停机2）
     */
    @TableField("STOP_TYPE")
    private String stopType;
    /**
     * 删除标志
     */
    @TableField("DEL_FLAG")
    private String delFlag;


    public String getPkId() {
        return pkId;
    }

    public void setPkId(String pkId) {
        this.pkId = pkId;
    }

    public String getStopCode() {
        return stopCode;
    }

    public void setStopCode(String stopCode) {
        this.stopCode = stopCode;
    }

    public String getStopReason() {
        return stopReason;
    }

    public void setStopReason(String stopReason) {
        this.stopReason = stopReason;
    }

    public String getStopType() {
        return stopType;
    }

    public void setStopType(String stopType) {
        this.stopType = stopType;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    protected Serializable pkVal() {
        return this.pkId;
    }

    @Override
    public String toString() {
        return "EquipStop{" +
        ", pkId=" + pkId +
        ", stopCode=" + stopCode +
        ", stopReason=" + stopReason +
        ", stopType=" + stopType +
        ", delFlag=" + delFlag +
        "}";
    }
}
